package marchsoft.modules.four.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import marchsoft.base.BasicModel;

import java.io.Serializable;

/**
 * @ClassName EStudent
 * @Author ZhuGuangLiang <786945363@qq.com>
 * @Date 2022/04/04 09:16
 */
@Data
public class EStudent extends BasicModel<EStudent> {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@ApiModelProperty(value = "高校id（关联user表部门id）")

	private Long universityId;

	@ApiModelProperty(value = "姓名")
	private String name;

	@ApiModelProperty(value = "性别")
	private boolean sex;

	@ApiModelProperty(value = "身份证号")
	private String idCard;


	@ApiModelProperty(value = "学院")
	private String college;


	@ApiModelProperty(value = "专业")
	private String major;

	@ApiModelProperty(value = "学号(账号)")
	private String studentNum;

	@ApiModelProperty(value = "密码")
	private String password;


	@ApiModelProperty(value = "准考证号")
	private String admissionNum;

	@ApiModelProperty(value = "入学年份")
	private String enrollmentYear;


	@ApiModelProperty(value = "身份")
	private Integer identity;

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
